﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;

namespace QWeiBoN.UserControler
{
    public class RichContentBox : RichTextBox
    {
        #region 自定义属性
        /// <summary>
        /// 依赖项，显示的时间线内容类型
        /// </summary>
        public static DependencyProperty OrigTextProperty = DependencyProperty.Register("OrigText",
            typeof(string),
            typeof(RichContentBox),
            new PropertyMetadata(""));

        /// <summary>
        /// 微博的原始内容
        /// </summary>
        [Description("微博的原始内容")]
        public string Origtext
        {
            get
            {
                return this.GetValue(OrigTextProperty).ToString();
            }
            set
            {
                this.SetValue(OrigTextProperty, value);
            }
        }
        #endregion
    }
}
